#ifndef __UIBALANCEMIDBODYWND__H__
#define __UIBALANCEMIDBODYWND__H__

#include <MZFCLIB.h>

#include	"iUiButton.h"
#include	"UiStatusBar.h"

typedef enum _tagBalanceMidBodyWndBtnDisplay
{
	BALANCE_MIDBODY_WND_TREBLE_DES = 0,
	BALANCE_MIDBODY_WND_TREBLE_ADD,
	BALANCE_MIDBODY_WND_BASS_DES,
	BALANCE_MIDBODY_WND_BASS_ADD,
	BALANCE_MIDBODY_WND_BALANCE_FRONT,
	BALANCE_MIDBODY_WND_BALANCE_REAR,
	BALANCE_MIDBODY_WND_BALANCE_LEFT,
	BALANCE_MIDBODY_WND_BALANCE_RIGHT,
	MAX_BALANCE_MIDBODY_WND_BTN,
} BALANCE_MIDBODY_WND_BTN;

typedef enum _tagBalanceMidBodyWndStaticDisplay
{
	BALANCE_MIDBODY_WND_STATIC_TREBLE = 0,
	BALANCE_MIDBODY_WND_STATIC_BASS,
	BALANCE_MIDBODY_WND_STATIC_FRONT,
	BALANCE_MIDBODY_WND_STATIC_LEFT,
	BALANCE_MIDBODY_WND_STATIC_TREBLE_VALUE,
	BALANCE_MIDBODY_WND_STATIC_BASS_VALUE,
	BALANCE_MIDBODY_WND_STATIC_FRONT_VALUE,
	BALANCE_MIDBODY_WND_STATIC_LEFT_VALUE,
	MAX_BALANCE_MIDBODY_WND_STATIC,
} BALANCE_MIDBODY_WND_STATIC;

typedef enum _tagBalanceMidBodyWndBarDisplay
{
	BALANCE_MIDBODY_WND_BAR_TREBLE = 0,
	BALANCE_MIDBODY_WND_BAR_BASS,
	MAX_BALANCE_MIDBODY_WND_BAR,
} BALANCE_MIDBODY_WND_BAR;

class UiBalanceMidBodyWnd :
	public UiWin
{
public:
	UiBalanceMidBodyWnd();
	~UiBalanceMidBodyWnd();

	BOOL InitUiWin(void);

	void PaintWin(HDC hdc, RECT* prcWin, RECT* prcUpdate);
	virtual int OnLButtonDown(UINT fwKeys, int xPos, int yPos);
	virtual int OnLButtonUp(UINT fwKeys, int xPos, int yPos);
	virtual void DeleteImages();

	void LoadiInterItem();
	BOOL InitImages();
public:
	iUiButton m_BtnMidBodyWnd[MAX_BALANCE_MIDBODY_WND_BTN];
	CUiStatusBar m_slideBar[MAX_BALANCE_MIDBODY_WND_BAR];
	UiStatic	m_StaticMidBodyWnd[MAX_BALANCE_MIDBODY_WND_STATIC];
	ImagingHelper	*m_MidBodyWndBG;

	HDC				m_hBakDC;
	HBITMAP			m_hBitmapBakDC;

};

#endif